/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package game_logic;

/**
 *
 * @author Danilo
 */
public enum Color {
    GREEN(0),
    RED(1),
    BLUE(2),
    YELLOW(3),
    WHITE(4);
            
    Color(int number){
        this.number = number;
    }
    
    
    private int number;

    public int getNumber() {
        return number;
    }

    private final java.awt.Color[] colors = { java.awt.Color.GREEN,
    java.awt.Color.RED, java.awt.Color.BLUE,
    java.awt.Color.YELLOW, java.awt.Color.WHITE };

    public java.awt.Color getAwtColor(){
        return colors[number];
    }
}
